package com.capgemini.scaffold.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 项目成员表
 * @TableName project_member
 */
@TableName(value ="project_member")
@Data
public class ProjectMember implements Serializable {

    @ApiModelProperty(value = "主键id",required = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "项目id")
    private Integer projectId;

    @ApiModelProperty(value = "员工id")
    private Integer userId;

    @ApiModelProperty(value = "添加时间")
    private Date addTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}